package com.ruoyi.answer.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 选择题选项视图对象 exam_question_choice
 *
 * @author ruoyi
 * @date 2022-08-19
 */
@Data
@ExcelIgnoreUnannotated
public class ExamQuestionChoiceVo {

    private static final long serialVersionUID = 1L;

    /**
     * 自动编号
     */
    @ExcelProperty(value = "自动编号")
    private Long id;

    /**
     * 所属题目id
     */
    @ExcelProperty(value = "所属题目id")
    private Long questionId;

    /**
     * 选项（A,B,C...）
     */
    @ExcelProperty(value = "选项", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "A=,B,C...")
    private String choiceName;

    /**
     * 选项描述
     */
    @ExcelProperty(value = "选项描述")
    private String choiceTitle;


}
